﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Index.Master" AutoEventWireup="true"
    CodeBehind="index.aspx.cs" Inherits="Web.index" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div id="main-content">
        <h2>
            欢迎使用集团通讯录</h2>
        <p id="page-intro">
            您可以开始工作了。</p>
        <ul class="shortcut-buttons-set">
            <%if (Session["usertype"] == null || Session["usertype"].ToString() == "0" || Session["usertype"].ToString() == "1")
              {%>
            <li><a class="shortcut-button" href="manager/phonebookmanager.aspx"><span>
                <img src="resources/images/icons/pencil_48.png" alt="icon" /><br />
                通讯录管理 </span></a></li>
            <li><a class="shortcut-button" href="manager/operator.aspx"><span>
                <img src="resources/images/icons/paper_content_pencil_48.png" alt="icon" /><br />
                操作员管理 </span></a></li>
            <li><a class="shortcut-button" href="#"><span>
                <img src="resources/images/icons/image_add_48.png" alt="icon" /><br />
                短信群发 </span></a></li>
            <li><a class="shortcut-button" href="manager/sysrole.aspx"><span>
                <img src="resources/images/icons/clock_48.png" alt="icon" /><br />
                角色管理 </span></a></li>
            <li><a class="shortcut-button" href="#messages" rel="modal"><span>
                <img src="resources/images/icons/comment_48.png" alt="icon" /><br />
                查看消息 </span></a></li>
            <% }
              else if (Session["usertype"].ToString() == "2" || Session["usertype"].ToString() == "3")
              {%>
              <li><a class="shortcut-button" href="group/phonebook.aspx"><span>
                <img src="resources/images/icons/pencil_48.png" alt="icon" /><br />
                通讯录管理 </span></a></li>
            <li><a class="shortcut-button" href="group/shareout.aspx"><span>
                <img src="resources/images/icons/paper_content_pencil_48.png" alt="icon" /><br />
                集团共享 </span></a></li>
            <li><a class="shortcut-button" href="group/smssend.aspx"><span>
                <img src="resources/images/icons/image_add_48.png" alt="icon" /><br />
                短信群发 </span></a></li>
            <li><a class="shortcut-button" href="group/operator.aspx"><span>
                <img src="resources/images/icons/clock_48.png" alt="icon" /><br />
                操作员管理 </span></a></li>
            <li><a class="shortcut-button" href="#messages" rel="modal"><span>
                <img src="resources/images/icons/comment_48.png" alt="icon" /><br />
                查看消息 </span></a></li>
            <%} %>
        </ul>
        <!-- End .shortcut-buttons-set -->
        <div class="clear">
        </div>
        <!-- End .clear -->
    </div>
    <!-- End #main-content -->
</asp:Content>
